package com.cangxuan.manage.entity;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 作者：游星宇
 * 用户流水实体类
 */
@Data
public class UserAmountRecord {
    private int id;
    private  Integer userId;//用户ID
    private  Integer direction;//买或卖或充值或提现
    private Float amount;//流水金额
    private LocalDateTime createTime;//创建时间
    private String remark;//备注
    private  Integer orderformId;//订单号

    private String name;//藏品名称

    public UserAmountRecord() {
    }

    public UserAmountRecord(int id, Integer userId, Integer direction, String name,
                            Float amount, LocalDateTime createTime, String remark, Integer orderformId) {
        this.id = id;
        this.userId = userId;
        this.direction = direction;
        this.name =name;
        this.amount = amount;
        this.createTime = createTime;
        this.remark = remark;
        this.orderformId = orderformId;
    }
}
